<#include "*/component/Tags.ftl"/>
<@Title/>
public interface ${clazz.name} {

${'\t'}/**
${'\t'}* 获取${entity.table.comment}CheckInfo
${'\t'}*
${'\t'}* @param id 主键
${'\t'}*
${'\t'}* @return ${entity.table.comment}CheckInfo
${'\t'}*/
${'\t'}${entity.entityName}CheckInfoDTO getCheckInfo(${entity.primaryField.type} id);

${'\t'}/**
${'\t'}* 获取${entity.table.comment}分页
${'\t'}*/
${'\t'}ListVo<${entity.entityName}ListItemVO> page(${entity.entityName}Query query);

${'\t'}/**
${'\t'}* 获取${entity.table.comment}列表
${'\t'}*
${'\t'}* @return ${entity.table.comment}列表
${'\t'}*/
${'\t'}List<${entity.entityName}ListItemVO> list(${entity.entityName}Query query);

${'\t'}/**
${'\t'}* 获取${entity.table.comment}详情
${'\t'}*
${'\t'}* @param id 主键
${'\t'}*
${'\t'}* @return ${entity.table.comment}详情
${'\t'}*/
${'\t'}${entity.entityName}ProfileVO getProfile(${entity.primaryField.type} id);

${'\t'}/**
${'\t'} * 添加${entity.table.comment}
${'\t'}*
${'\t'}* @param form 要添加的数据
${'\t'}*
${'\t'}*/
${'\t'}void add(${entity.entityName}AddForm form);

${'\t'}/**
${'\t'}* 修改${entity.table.comment}
${'\t'}*
${'\t'}* @param form 要修改的数据
${'\t'}*
${'\t'}* @return 成功个数
${'\t'}*/
${'\t'}int update(${entity.entityName}UpdateForm form);

${'\t'}/**
${'\t'}* 删除${entity.table.comment}
${'\t'}*
${'\t'}* @param id 主键
${'\t'}*
${'\t'}* @return 成功个数
${'\t'}*/
${'\t'}int delete(${entity.primaryField.type} id);

}
